home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_03_01
/
3n01006a
< prev
next >
Wrap
Text File
|
1991-11-25
|
1KB
|
29 lines
/*****************************************************/
/* icon.h */
/* -- Interface to icon creation module. */
/*****************************************************/
/*****************************************************/
/* Types. */
/*****************************************************/
typedef struct
{
POINT ptHot; /* Hotspot. */
int dx, dy; /* Width and height. */
WORD cbLine; /* Width of monochrome bitmap in */
/* bytes. */
BYTE cpln; /* Number of planes in color */
/* bitmap. */
BYTE cbit; /* Bits per plane in color */
/* bitmap. */
BYTE rgb[1]; /* Bitmaps (mono then color). */
} ICN;
typedef ICN FAR * LPICN;
/*****************************************************/
/* Prototypes. */
/*****************************************************/
HICON HicnFromBmpBmp(HBITMAP, HBITMAP);